package doem6;

public class Animal implements Cloneable{
    private String name;
    public Animal clone(){
        Animal o = null;
        try{
            o = (Animal) super.clone();
        }catch(CloneNotSupportedException e){
            e.printStackTrace();
        }
        return o;
    }
}
